package com.example.demo.service;

import com.example.demo.utils.User;
import com.example.demo.utils.LoginUser;
import com.example.demo.utils.ApiResponse;
import org.springframework.transaction.annotation.Transactional;

public interface UserService {
    ApiResponse userLogin(LoginUser user);
    ApiResponse userRegister(User user);
    ApiResponse getUserInfo(String token);
    ApiResponse updateUserInfo(String token, User updatedUser);
    ApiResponse getUserOrders(String token);

}
